//
//  CollectViewController.m
//  livingDesign
//
//  Created by dlios on 15-1-28.
//  Copyright (c) 2015年 怡居. All rights reserved.
//

#import "CollectViewController.h"
#import "SetUpViewController.h"

@interface CollectViewController ()

@end

@implementation CollectViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
     self.view.backgroundColor = [UIColor whiteColor];
    
    self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithImage:[UIImage imageNamed:@"setUp.png"] style:UIBarButtonItemStylePlain target:self action:@selector(barButtonAction:)];
    
    [self.navigationItem.leftBarButtonItem release];
    
}

- (void)barButtonAction:(UIBarButtonItem *)barButton
{
    SetUpViewController *setUpVC = [[SetUpViewController alloc] init];
    [self.navigationController pushViewController:setUpVC animated:YES];
    [setUpVC release];
    
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
